<template>
	<div class="container box-2">
		<!--<div class="content-1" v-if="this.$store.state.loadingType == 0">
			<p class="dec">分发考卷中，请稍等......</p>
		</div>-->
		<!--<div class="content-2" v-if="this.$store.state.loadingType == 1">
			<img src="../img/loading.gif" />
			<p class="dec">载入题目中，请稍等......</p>
		</div>-->
		<div class="content-2">
			<img src="../img/loading.gif" />
			<p class="dec">载入题目中，请稍等......</p>
		</div>
	</div>
</template>

<script>
	
	export default {
		name: 'loading',
		data() {
			return {

			}
		},
		props: ['fatherComponent'],
		methods: {
			
		},
		created() {
			
		}
	}
</script>

<style lang="less" scoped>
	@import "../css/_modules.less";
	.box-2 {
		position: relative;
		.xyCenter();
		width: 5.35rem;
		min-height: 3.44rem;
		.content-1 {
			min-height: 4.73rem;
			.bg();
			background-image: url(../img/box-1.png);
			.dec {
				padding-top: 3.7rem;
				font-size: 0.24rem;
				color: #e8fcff;
				text-align: center;
			}
		}
		.content-2 {
			width: 5.28rem;
			min-height: 3.44rem;
			margin: 0 auto;
			.bg();
			background-image: url(../img/box-2.png);
			img {
				width: 1.5rem;
				margin: 0 auto;
				padding-top: 0.5rem;
				display: block;
			}
			.dec {
				padding-top: 0.35rem;
				font-size: 0.24rem;
				color: #e8fcff;
				text-align: center;
			}
		}
	}
</style>